package com.jumi.microservice.domain;

import java.io.Serializable;

public class MessageQuery implements Serializable {
    /**
     * 用户消息模板code
     */
    private String code;
    /**
     * jpush设备id
     */
    private String registerId;
    /**
     * 用户id
     */
    private Long memberId = 0l;
    /**
     * 短信发送人id
     */
    private Long fromMemberId = 0L;
    /**
     * 短信发送人姓名
     */
    private String fromMemberName;
    /**
     * 短消息接收人id
     */
    private Long toMemberId = 0L;
    /**
     * 短消息接收人姓名
     */
    private String toMemberName;
    /**
     * 短消息内容
     */
    private String messageBody;
    /**
     * 0为私信、1为系统消息、2为留言
     */
    private Integer messageType;
    /**
     * 已经读过该消息的会员id
     */
    private Long readMemberId = 0L;
    /**
     * 已经删除该消息的会员id
     */
    private Long delMemberId = 0L;
    /**
     * 1代表发货提醒 2代表付款成功 3代表余额变动 4代表退款退货
     */
    private Integer systemType;
    /**
     * 跳转地址
     */
    private String link;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRegisterId() {
        return registerId;
    }

    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getFromMemberId() {
        return fromMemberId;
    }

    public void setFromMemberId(Long fromMemberId) {
        this.fromMemberId = fromMemberId;
    }

    public String getFromMemberName() {
        return fromMemberName;
    }

    public void setFromMemberName(String fromMemberName) {
        this.fromMemberName = fromMemberName;
    }

    public Long getToMemberId() {
        return toMemberId;
    }

    public void setToMemberId(Long toMemberId) {
        this.toMemberId = toMemberId;
    }

    public String getToMemberName() {
        return toMemberName;
    }

    public void setToMemberName(String toMemberName) {
        this.toMemberName = toMemberName;
    }

    public String getMessageBody() {
        return messageBody;
    }

    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Long getReadMemberId() {
        return readMemberId;
    }

    public void setReadMemberId(Long readMemberId) {
        this.readMemberId = readMemberId;
    }

    public Long getDelMemberId() {
        return delMemberId;
    }

    public void setDelMemberId(Long delMemberId) {
        this.delMemberId = delMemberId;
    }

    public Integer getSystemType() {
        return systemType;
    }

    public void setSystemType(Integer systemType) {
        this.systemType = systemType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
}
